<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <title>慢慢买</title>
  <script src="lib/flexible/flexible.js"></script>
  <link rel="icon" href="favicon.ico">
  <link rel="stylesheet" href="css/common.css">
  <link rel="stylesheet" href="css/productList.css">
</head>
<body>
  <div class="container">
    <!--头部-->
    <div class="header">
      <h1 class="logo fl">
        <a href="index.html" >
          <img src="images/header_logo.png" alt="">
        </a>
      </h1>
      <div class="download fr">
        <a href="#">
          <img src="images/header_app.png" alt="">
        </a>
      </div>
    </div>
    <!--主体-->
    <div class="main">
      <div class="search">
        <input type="text"placeholder="请输入你想比价的商品"><button>搜索</button>
      </div>
      <div class="product">
        <div class="product-nav">
          <a href="index.html">首页></a>
          <a href="category.html">全部分类></a>
          <a href="javascript:;" id="categoryName"></a>
          <button>筛选</button>
        </div>
        <div class="product-list">
        
        </div>
        <div class="paginator">
          <button class="toPrev">上一页</button>
            <select>
            
            </select>
          <button class="toNext">下一页</button>
        </div>
      </div>
    </div>
    <!--底部-->
    <div class="footer">
      <div class="footerNav clearfix">
        <a href="#">登录</a>
        <a href="#">注册</a>
        <a href="javascript:;" id="goTop"><img src="images/top.jpg" alt="">回到顶部</a>
        <!--javascript:toBack.goTop();-->
      </div>
      <div class="msg">
        <p>
          <a href="#" class="red">手机APP下载</a>
          <a href="#">慢慢买手机版</a>
          <a href="#">--掌上比价平台</a>
        </p>
        <p><a href="#">手机APP下载</a></p>
      </div>
    </div>
  </div>
  <!--产品列表模板-->
  <script type="text/html" id="productTpl">
    {{ each result v i }}
    <div class="list-item">
      <a href="product.html?productid={{ v.productId }}&categoryid={{ v.categoryId }}">
        <div class="img-box fl">
          {{@ v.productImg }}
        </div>
        <div class="list-info">
          <p class="title">{{ v.productName }}</p>
          <p class="price">{{ v.productPrice }}</p>
          <p class="msg">
            <span>{{ v.productQuote }}</span>
            <span>{{ v.productCom }}</span>
          </p>
        </div>
      </a>
    </div>
    {{ /each }}
</script>
  <!--分页模板-->
  <script type="text/html" id="paginatorTpl">
    {{ each pageArr v i }}
    <option value="{{ v }}" {{ }}>{{ i + 1 + "/" + len }}</option>
    {{ /each }}
  </script>
  <script src="lib/jquery/jquery-1.12.4.js"></script>
  <script src="lib/artTemplate/template-web.js"></script>
  <script src="js/common.js"></script>
  <script src="js/productList.js"></script>
</body>
</html>